package cn.itrip.auth.service;

import cn.itrip.beans.pojo.ItripUser;

public interface UserService {
        public void itriptxCreateUser(ItripUser user) throws Exception;
        public boolean activate(String mail,String code)throws Exception;
        public ItripUser findUserByUserCode(String userCode)throws Exception;
        public void itriptxCreateUserByphone(ItripUser user)throws Exception;
        public boolean validatePhone(String phoneNum,String code)throws Exception;
        public ItripUser login(String userCode,String userPassword)throws Exception;
}
